Patch Routines

void patchbasis
(long tid,long uid)
Define the t and u basis matrix id's of a patch. It is assumed that tbasisid and ubasisid have matrices associated with them already (this is done using the defbasis call).

void patchprecision
(long tseg,long useg)
Set the minimum number of line segments making up curves in a patch.

void patchcurves
(long nt,long nu)
Set the number of curves making up a patch.

void rpatch
(Matrix gx,Matrix gy,Matrix gz,Matrix gw)
Draws a rational patch in the current basis, according to the geometry matrices gx, gy, gz, and gw.

void patch
(Matrix gx,Matrix gy,Matrix gz)
Draws a patch in the current basis, according to the geometry matrices gx, gy, and gz.